package com.ssyx.activity.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ssyx.model.activity.ActivityRule;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
* @author 34901
* @description 针对表【activity_rule(优惠规则)】的数据库操作Mapper
* @createDate 2024-05-05 21:12:58
* @Entity com.ssyx.activity.pojo.ActivityRule
*/
@Repository
public interface ActivityRuleMapper extends BaseMapper<ActivityRule> {

    //根据skuId,获取商品促销信息
    List<ActivityRule> findActivityRule(@Param("skuId")Long skuId);
}




